package charatr04.example;
class Animal4{
    public void shout()
    {
        System.out.println("动物发出的叫声");
    }
}
class Dog4 extends Animal{
    private void shout()
    {
        System.out.println("汪汪汪。。。。");
    }
}
public class Example04 {
    public static void main(String[] args) {
        Dog4 dog = new Dog4();
        //dog.shout ();
    }
}